From 33ff4e825a0b49c72b80a340cece182b7ea019e1 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 13 Feb 2007 06:55:26 +0000 Subject: [PATCH] Nuke trailing whitespace from smart shortnames. --- gpsbabel/mkshort.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/mkshort.c b/gpsbabel/mkshort.c index daa751434..d2b928fc4 100644 --- a/gpsbabel/mkshort.c +++ b/gpsbabel/mkshort.c @@ -515,6 +515,7 @@ mkshort(short_handle h, const char *istring) if (dp < ostring) dp = ostring; memmove(dp, np, strlen(np)); dp[strlen(np)] = 0; + rtrim(ostring); } /* -- 2.30.2